package com.workflow.workflowproject.pojo;

import com.anwen.mongo.annotation.ID;
import com.anwen.mongo.annotation.collection.CollectionField;
import com.anwen.mongo.annotation.collection.CollectionName;
import lombok.Data;

import java.util.List;

/**
 * 审批日志注解
 */
@Data
@CollectionName("logComment")
public class LogComment {
    /**
     * 审批日志id
     */
    @ID
    private String id;
    /**
     * 内容
     */
    @CollectionField("content")
    private String content;
    /**
     * 附件
     */
    @CollectionField(value="iamgePath",convertCollect=true)
    private List<String> iamgePaths;
    /**
     * 附件
     */
    @CollectionField(value="filePath",convertCollect=true)
    private List<String> filePath;
    /**
     * 附件
     */
    @CollectionField(value="userIds",convertCollect=true)
    private List<String> userIds;
}
